export function vpassword(val){ 
  //密码应是6-12位数字、字母或字符
return /(?!^(\d+|[a-zA-Z]+|[~!@#$%^&*?]+)$)^[\w~!@#$%^&*?]{6,12}$/.test(val)
}
